package com.ygxsk.carhome.retrofit;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-11-28  17:45
 * @Description:单独写出的接口使用的内容
 */

import io.reactivex.rxjava3.core.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface GoogleService {

    //    @POST(ApiService.idcardupload_url)
    @POST("http://192.168.2.193:5050/upload/file")
    Observable<String> idcardUpLoad(@Body RequestBody requestBody);


    /**
     * 谷歌框架请求接口
     * @param param
     * @return
     */
//    @FormUrlEncoded
//    @POST("api/google/getGoogleApks")
//    Observable<HttpResult<List<AppInfoBean>>> getGoogleFrameApks(@Field("param") JSONObject param);

    /**
     * 下载apk
     * @param fileUrl
     * @return
     */
//    @GET
//    Call<ResponseBody> downloadFile(@Url String fileUrl);


}
